-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
themes.js hopefully last time #2133
Conversation
continuation #2076 Video description has some hardcoded text color, remove it make sure we remove cookie instead of writing 0
Fixing YT hardcoded CSS for DARK/light mode switching
hi! @raszpl thanks!! btw, is it the current version what makes youtube's home page empty? youtube/js&css/web-accessible/www.youtube.com/themes.js Lines 104 to 132 in c35d721
we might only need to adjust the cookie the exact same moment when the user does so by shortcut. or when storage changes to or from themes:"youtube's dark mode" |
both straight homepage and redirect work fine for me
only on startup (added #2134), otherwise you break dynamic theme switching.
its already there, setPrefCookieValueByName only writes cookie if new value is different |
continuation #2076
Video description has some hardcoded text color, remove it make sure we remove cookie instead of writing 0